.class public Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;
.super Lcom/waiqin365/lightapp/base/WqBaseActivity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field public a:Landroid/os/Handler;

.field private b:Ljava/lang/String;

.field private c:Lcom/waiqin365/base/login/mainview/TitleBar;

.field private d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

.field private e:Landroid/widget/TextView;

.field private f:Landroid/widget/TextView;

.field private g:Landroid/view/View;

.field private h:Lcom/waiqin365/lightapp/view/LabelView_vertical;

.field private i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

.field private j:Landroid/view/View;

.field private k:Landroid/widget/LinearLayout;

.field private l:Landroid/widget/TextView;

.field private m:Lcom/waiqin365/lightapp/chexiao/b/a/as;

.field private n:Ljava/util/List;

.field private o:Lcom/waiqin365/lightapp/chexiao/b/a/bm;

.field private p:Lcom/waiqin365/lightapp/chexiao/a/t;

.field private q:Lcom/waiqin365/lightapp/product/d/j;

.field private r:Lcom/waiqin365/lightapp/view/NoNetView;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Lcom/waiqin365/lightapp/base/WqBaseActivity;-><init>()V

    invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;

    move-result-object v0

    invoke-virtual {v0}, Ljava/util/UUID;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->b:Ljava/lang/String;

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    new-instance v0, Lcom/waiqin365/lightapp/product/d/j;

    invoke-direct {v0}, Lcom/waiqin365/lightapp/product/d/j;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->q:Lcom/waiqin365/lightapp/product/d/j;

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/do;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/chexiao/do;-><init>(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->a:Landroid/os/Handler;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;Lcom/waiqin365/lightapp/chexiao/b/a/as;)Lcom/waiqin365/lightapp/chexiao/b/a/as;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->m:Lcom/waiqin365/lightapp/chexiao/b/a/as;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Lcom/waiqin365/lightapp/chexiao/b/a/bm;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->o:Lcom/waiqin365/lightapp/chexiao/b/a/bm;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;Lcom/waiqin365/lightapp/chexiao/b/a/bm;)Lcom/waiqin365/lightapp/chexiao/b/a/bm;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->o:Lcom/waiqin365/lightapp/chexiao/b/a/bm;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;Ljava/util/List;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->a(Ljava/util/List;)V

    return-void
.end method

.method private a(Ljava/util/List;)V
    .locals 5

    const/4 v3, 0x0

    if-nez p1, :cond_1

    :cond_0
    :goto_0
    return-void

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0, p1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setValueItems(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setSelectedItem(Lcom/waiqin365/lightapp/dailyreport/c/a;)V

    invoke-interface {p1}, Ljava/util/List;->size()I

    move-result v0

    const/4 v1, 0x1

    if-ne v0, v1, :cond_2

    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/chexiao/c/v;

    iget-boolean v0, v0, Lcom/waiqin365/lightapp/chexiao/c/v;->d:Z

    if-nez v0, :cond_2

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/a;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setSelectedItem(Lcom/waiqin365/lightapp/dailyreport/c/a;)V

    new-instance v0, Ljava/lang/StringBuilder;

    invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v2}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string/jumbo v1, "lastWH"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-interface {p1, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/chexiao/c/v;

    iget-object v0, v0, Lcom/waiqin365/lightapp/chexiao/c/v;->a:Ljava/lang/String;

    invoke-static {p0, v1, v0}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0

    :cond_2
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v1

    :cond_3
    invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/chexiao/c/v;

    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v3, v4}, Lcom/waiqin365/base/login/mainview/a;->i(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    const-string/jumbo v3, "lastWH"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    const-string/jumbo v3, ""

    invoke-static {p0, v2, v3}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/c/v;->a()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_3

    iget-boolean v2, v0, Lcom/waiqin365/lightapp/chexiao/c/v;->d:Z

    if-nez v2, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setSelectedItem(Lcom/waiqin365/lightapp/dailyreport/c/a;)V

    goto/16 :goto_0
.end method

.method static synthetic b(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic c(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic d(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic e(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic f(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic g(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Landroid/widget/TextView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->f:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic h(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Lcom/waiqin365/lightapp/view/NoNetView;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->r:Lcom/waiqin365/lightapp/view/NoNetView;

    return-object v0
.end method

.method static synthetic i(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Lcom/waiqin365/lightapp/chexiao/b/a/as;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->m:Lcom/waiqin365/lightapp/chexiao/b/a/as;

    return-object v0
.end method

.method static synthetic j(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic k(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Lcom/waiqin365/lightapp/view/LabelView_vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->h:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    return-object v0
.end method

.method static synthetic l(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    return-object v0
.end method

.method static synthetic m(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic n(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)Landroid/content/Context;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 3

    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/b/a/i;

    invoke-direct {v1, v0}, Lcom/waiqin365/lightapp/chexiao/b/a/i;-><init>(Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->a:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/chexiao/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/chexiao/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/b/b;->start()V

    return-void
.end method

.method public b()V
    .locals 4

    const v2, 0x7f08078d

    const/4 v3, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->q:Lcom/waiqin365/lightapp/product/d/j;

    iput-boolean v3, v0, Lcom/waiqin365/lightapp/product/d/j;->l:Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->q:Lcom/waiqin365/lightapp/product/d/j;

    const-string/jumbo v1, "1000000"

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->h:Ljava/lang/String;

    invoke-static {p0}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->q:Lcom/waiqin365/lightapp/product/d/j;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/db/offlinedata/w;->b(Lcom/waiqin365/lightapp/product/d/j;)Ljava/util/List;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->p:Lcom/waiqin365/lightapp/chexiao/a/t;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/a/t;->a(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->e:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, "("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    invoke-interface {v2}, Ljava/util/List;->size()I

    move-result v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v1

    const-string/jumbo v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->e:Landroid/widget/TextView;

    invoke-virtual {v0, v3}, Landroid/widget/TextView;->setEnabled(Z)V

    :goto_0
    return-void

    :cond_0
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->p:Lcom/waiqin365/lightapp/chexiao/a/t;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/chexiao/a/t;->a(Ljava/util/List;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->e:Landroid/widget/TextView;

    invoke-virtual {p0, v2}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->e:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setEnabled(Z)V

    goto :goto_0
.end method

.method public onClick(Landroid/view/View;)V
    .locals 12

    const/4 v1, 0x0

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    sparse-switch v0, :sswitch_data_0

    :goto_0
    return-void

    :sswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->finish()V

    goto :goto_0

    :sswitch_1
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/lightapp/chexiao/CXRecordsListHKActy;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    invoke-virtual {v1, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    goto :goto_0

    :sswitch_2
    new-instance v3, Ljava/util/HashMap;

    invoke-direct {v3}, Ljava/util/HashMap;-><init>()V

    const-string/jumbo v0, "data.token"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->b:Ljava/lang/String;

    invoke-virtual {v3, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    const-string/jumbo v0, "data.car_id"

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->m:Lcom/waiqin365/lightapp/chexiao/b/a/as;

    iget-object v2, v2, Lcom/waiqin365/lightapp/chexiao/b/a/as;->d:Ljava/lang/String;

    invoke-virtual {v3, v0, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->i()Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->i()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->i()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/a;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/dailyreport/c/a;->a()Ljava/lang/String;

    move-result-object v0

    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string/jumbo v2, "data.store_house_id"

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->i()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/c/a;

    invoke-interface {v0}, Lcom/waiqin365/lightapp/dailyreport/c/a;->a()Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v3, v2, v0}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    if-eqz v0, :cond_8

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_8

    new-instance v4, Lorg/json/JSONArray;

    invoke-direct {v4}, Lorg/json/JSONArray;-><init>()V

    move v2, v1

    :goto_1
    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-ge v2, v0, :cond_7

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    invoke-interface {v0, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/product/d/f;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    invoke-static {v1}, Lcom/waiqin365/base/db/offlinedata/w;->a(Landroid/content/Context;)Lcom/waiqin365/base/db/offlinedata/w;

    move-result-object v1

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v1, v5}, Lcom/waiqin365/base/db/offlinedata/w;->f(Ljava/lang/String;)Lcom/waiqin365/base/db/offlinedata/s;

    move-result-object v5

    new-instance v6, Lorg/json/JSONObject;

    invoke-direct {v6}, Lorg/json/JSONObject;-><init>()V

    const-string/jumbo v1, "id"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->a()Ljava/lang/String;

    move-result-object v7

    invoke-virtual {v6, v1, v7}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->q:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/j;->o:Lcom/waiqin365/lightapp/product/d/k;

    sget-object v7, Lcom/waiqin365/lightapp/product/d/k;->a:Lcom/waiqin365/lightapp/product/d/k;

    if-ne v1, v7, :cond_6

    const-string/jumbo v1, "num"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->M()Ljava/lang/Double;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v8

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->N()Ljava/lang/Double;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v10

    add-double/2addr v8, v10

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->O()Ljava/lang/Double;

    move-result-object v7

    invoke-virtual {v7}, Ljava/lang/Double;->doubleValue()D

    move-result-wide v10

    add-double/2addr v8, v10

    invoke-virtual {v6, v1, v8, v9}, Lorg/json/JSONObject;->put(Ljava/lang/String;D)Lorg/json/JSONObject;

    const-string/jumbo v7, "input_unit"

    if-nez v5, :cond_2

    const-string/jumbo v1, ""

    :goto_2
    invoke-virtual {v6, v7, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "enable_num"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->M()Ljava/lang/Double;

    move-result-object v7

    invoke-virtual {v6, v1, v7}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v7, "enable_input_unit"

    if-nez v5, :cond_3

    const-string/jumbo v1, ""

    :goto_3
    invoke-virtual {v6, v7, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "return_num"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->N()Ljava/lang/Double;

    move-result-object v7

    invoke-virtual {v6, v1, v7}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v7, "return_input_unit"

    if-nez v5, :cond_4

    const-string/jumbo v1, ""

    :goto_4
    invoke-virtual {v6, v7, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "change_num"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->O()Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v6, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "change_input_unit"

    if-nez v5, :cond_5

    const-string/jumbo v0, ""

    :goto_5
    invoke-virtual {v6, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    :cond_1
    :goto_6
    invoke-virtual {v4, v6}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;

    add-int/lit8 v0, v2, 0x1

    move v2, v0

    goto/16 :goto_1

    :cond_2
    invoke-virtual {v5}, Lcom/waiqin365/base/db/offlinedata/s;->a()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v8, "default"

    const-string/jumbo v9, ""

    invoke-virtual {v1, v8, v9}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v1

    goto :goto_2

    :cond_3
    invoke-virtual {v5}, Lcom/waiqin365/base/db/offlinedata/s;->a()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v8, "default"

    const-string/jumbo v9, ""

    invoke-virtual {v1, v8, v9}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v1

    goto :goto_3

    :cond_4
    invoke-virtual {v5}, Lcom/waiqin365/base/db/offlinedata/s;->a()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v8, "default"

    const-string/jumbo v9, ""

    invoke-virtual {v1, v8, v9}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v1

    goto :goto_4

    :cond_5
    invoke-virtual {v5}, Lcom/waiqin365/base/db/offlinedata/s;->a()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v5, "default"

    const-string/jumbo v7, ""

    invoke-virtual {v0, v5, v7}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    goto :goto_5

    :cond_6
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->q:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/j;->o:Lcom/waiqin365/lightapp/product/d/k;

    sget-object v7, Lcom/waiqin365/lightapp/product/d/k;->b:Lcom/waiqin365/lightapp/product/d/k;

    if-ne v1, v7, :cond_b

    const-string/jumbo v1, "num"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->N()Ljava/lang/Double;

    move-result-object v7

    invoke-virtual {v6, v1, v7}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v7, "input_unit"

    if-nez v5, :cond_9

    const-string/jumbo v1, ""

    :goto_7
    invoke-virtual {v6, v7, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "return_num"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->N()Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v6, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "return_input_unit"

    if-nez v5, :cond_a

    const-string/jumbo v0, ""

    :goto_8
    invoke-virtual {v6, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_6

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Lorg/json/JSONException;->printStackTrace()V

    :cond_7
    const-string/jumbo v0, "data.products"

    invoke-virtual {v4}, Lorg/json/JSONArray;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v3, v0, v1}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;

    :cond_8
    const-string/jumbo v0, ""

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->showProgressDialog(Ljava/lang/String;)V

    invoke-static {}, Lcom/waiqin365/base/login/mainview/a;->a()Lcom/waiqin365/base/login/mainview/a;

    move-result-object v0

    invoke-virtual {v0, p0}, Lcom/waiqin365/base/login/mainview/a;->p(Landroid/content/Context;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/b/a/ac;

    invoke-direct {v1, v0, v3}, Lcom/waiqin365/lightapp/chexiao/b/a/ac;-><init>(Ljava/lang/String;Ljava/util/HashMap;)V

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/b/b;

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->a:Landroid/os/Handler;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/lightapp/chexiao/b/b;-><init>(Landroid/os/Handler;Lcom/waiqin365/lightapp/chexiao/b/c;)V

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/chexiao/b/b;->start()V

    goto/16 :goto_0

    :cond_9
    :try_start_1
    invoke-virtual {v5}, Lcom/waiqin365/base/db/offlinedata/s;->a()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v8, "default"

    const-string/jumbo v9, ""

    invoke-virtual {v1, v8, v9}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v1

    goto :goto_7

    :cond_a
    invoke-virtual {v5}, Lcom/waiqin365/base/db/offlinedata/s;->a()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v5, "default"

    const-string/jumbo v7, ""

    invoke-virtual {v0, v5, v7}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v0

    goto :goto_8

    :cond_b
    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->q:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v1, v1, Lcom/waiqin365/lightapp/product/d/j;->o:Lcom/waiqin365/lightapp/product/d/k;

    sget-object v7, Lcom/waiqin365/lightapp/product/d/k;->c:Lcom/waiqin365/lightapp/product/d/k;

    if-ne v1, v7, :cond_1

    const-string/jumbo v1, "num"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->O()Ljava/lang/Double;

    move-result-object v7

    invoke-virtual {v6, v1, v7}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v7, "input_unit"

    if-nez v5, :cond_c

    const-string/jumbo v1, ""

    :goto_9
    invoke-virtual {v6, v7, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "change_num"

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/product/d/f;->O()Ljava/lang/Double;

    move-result-object v0

    invoke-virtual {v6, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    const-string/jumbo v1, "change_input_unit"

    if-nez v5, :cond_d

    const-string/jumbo v0, ""

    :goto_a
    invoke-virtual {v6, v1, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;

    goto/16 :goto_6

    :cond_c
    invoke-virtual {v5}, Lcom/waiqin365/base/db/offlinedata/s;->a()Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v8, "default"

    const-string/jumbo v9, ""

    invoke-virtual {v1, v8, v9}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;

    move-result-object v1

    goto :goto_9

    :cond_d
    invoke-virtual {v5}, Lcom/waiqin365/base/db/offlinedata/s;->a()Ljava/lang/String;

    move-result-object v0

    const-string/jumbo v5, "default"

    const-string/jumbo v7, ""

    invoke-virtual {v0, v5, v7}, Ljava/lang/String;->replace(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Ljava/lang/String;
    :try_end_1
    .catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_0

    move-result-object v0

    goto :goto_a

    :sswitch_3
    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->a()V

    goto/16 :goto_0

    nop

    :sswitch_data_0
    .sparse-switch
        0x7f0c008a -> :sswitch_0
        0x7f0c0093 -> :sswitch_1
        0x7f0c00c9 -> :sswitch_2
        0x7f0c0c3d -> :sswitch_3
    .end sparse-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 6

    const/4 v5, 0x0

    const v4, 0x7f08007e

    const/16 v1, 0x8

    const/4 v3, 0x0

    const/4 v2, 0x1

    invoke-super {p0, p1}, Lcom/waiqin365/lightapp/base/WqBaseActivity;->onCreate(Landroid/os/Bundle;)V

    const v0, 0x7f03001f

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->setContentView(I)V

    const v0, 0x7f0c00c5

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/base/login/mainview/TitleBar;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->a:Landroid/widget/ImageButton;

    invoke-virtual {v0, p0}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->h:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->i:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    const v1, 0x7f080691

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/Button;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->d:Landroid/widget/Button;

    invoke-virtual {v0, p0}, Landroid/widget/Button;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00c6

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    const v0, 0x7f0c00cb

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/NoNetView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->r:Lcom/waiqin365/lightapp/view/NoNetView;

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030020

    invoke-virtual {v0, v1, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->g:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->g:Landroid/view/View;

    const v1, 0x7f0c00cc

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->h:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->h:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const v1, 0x7f0806be

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->h:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    const-string/jumbo v1, "2"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->h:Lcom/waiqin365/lightapp/view/LabelView_vertical;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/LabelView_vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->g:Landroid/view/View;

    const v1, 0x7f0c00cd

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    const v1, 0x7f0806bf

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setLabel(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    const-string/jumbo v1, "2"

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setMustinput(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0, v3}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setBottomLineStatus(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    const v1, 0x7f0800a8

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setHint(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    invoke-virtual {v0, v2}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->b(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->i:Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;

    new-instance v1, Lcom/waiqin365/lightapp/chexiao/dp;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/chexiao/dp;-><init>(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)V

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/view/SingleSelectViewNew_vertical;->setOnChangeListener(Lcom/waiqin365/lightapp/view/cn;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->g:Landroid/view/View;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->addHeaderView(Landroid/view/View;)V

    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v0

    const v1, 0x7f030021

    invoke-virtual {v0, v1, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->j:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->j:Landroid/view/View;

    const v1, 0x7f0c00ce

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->k:Landroid/widget/LinearLayout;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->j:Landroid/view/View;

    const v1, 0x7f0c00cf

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->l:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->j:Landroid/view/View;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->addHeaderView(Landroid/view/View;)V

    const v0, 0x7f0c00c9

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->e:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->e:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c00ca

    invoke-virtual {p0, v0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->f:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "productType"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v0

    if-nez v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->q:Lcom/waiqin365/lightapp/product/d/j;

    sget-object v1, Lcom/waiqin365/lightapp/product/d/k;->a:Lcom/waiqin365/lightapp/product/d/k;

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->o:Lcom/waiqin365/lightapp/product/d/k;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    :goto_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->l:Landroid/widget/TextView;

    const v1, 0x7f080669

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->a()V

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/dq;

    invoke-direct {v0, p0}, Lcom/waiqin365/lightapp/chexiao/dq;-><init>(Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;)V

    invoke-static {v0}, Lcom/waiqin365/lightapp/chexiao/d/a;->a(Lcom/waiqin365/lightapp/chexiao/d/d;)V

    new-instance v0, Lcom/waiqin365/lightapp/chexiao/a/t;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->mContext:Landroid/content/Context;

    iget-object v2, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->n:Ljava/util/List;

    iget-object v3, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->q:Lcom/waiqin365/lightapp/product/d/j;

    iget-object v3, v3, Lcom/waiqin365/lightapp/product/d/j;->o:Lcom/waiqin365/lightapp/product/d/k;

    invoke-direct {v0, v1, v2, v3}, Lcom/waiqin365/lightapp/chexiao/a/t;-><init>(Landroid/content/Context;Ljava/util/List;Lcom/waiqin365/lightapp/product/d/k;)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->p:Lcom/waiqin365/lightapp/chexiao/a/t;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    iget-object v1, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->p:Lcom/waiqin365/lightapp/chexiao/a/t;

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->setAdapter(Landroid/widget/BaseAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->d:Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/CustomListview;->f()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->r:Lcom/waiqin365/lightapp/view/NoNetView;

    iget-object v0, v0, Lcom/waiqin365/lightapp/view/NoNetView;->b:Landroid/widget/TextView;

    invoke-virtual {v0, p0}, Landroid/widget/TextView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void

    :cond_0
    if-ne v0, v2, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->q:Lcom/waiqin365/lightapp/product/d/j;

    sget-object v1, Lcom/waiqin365/lightapp/product/d/k;->b:Lcom/waiqin365/lightapp/product/d/k;

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->o:Lcom/waiqin365/lightapp/product/d/k;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    const v1, 0x7f080083

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_1
    const/4 v1, 0x2

    if-ne v0, v1, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->q:Lcom/waiqin365/lightapp/product/d/j;

    sget-object v1, Lcom/waiqin365/lightapp/product/d/k;->c:Lcom/waiqin365/lightapp/product/d/k;

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->o:Lcom/waiqin365/lightapp/product/d/k;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    const v1, 0x7f08007f

    invoke-virtual {p0, v1}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->q:Lcom/waiqin365/lightapp/product/d/j;

    sget-object v1, Lcom/waiqin365/lightapp/product/d/k;->a:Lcom/waiqin365/lightapp/product/d/k;

    iput-object v1, v0, Lcom/waiqin365/lightapp/product/d/j;->o:Lcom/waiqin365/lightapp/product/d/k;

    iget-object v0, p0, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->c:Lcom/waiqin365/base/login/mainview/TitleBar;

    iget-object v0, v0, Lcom/waiqin365/base/login/mainview/TitleBar;->e:Landroid/widget/TextView;

    invoke-virtual {p0, v4}, Lcom/waiqin365/lightapp/chexiao/CXSaveHKActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    goto :goto_0
.end method
